@using Caviar.AntDesignPages.Helper;
<Router @ref="UserConfig.Router" AppAssembly="@typeof(Caviar.AntDesignPages.Helper.Config).Assembly"
        AdditionalAssemblies="Config.AdditionalAssemblies"
        PreferExactMatches="@true">
    <Found Context="routeData">
        <RouteView RouteData="@routeData" DefaultLayout="@typeof(CavMainLayout)" />
        @*<ReuseTabsRouteView RouteData="@routeData" DefaultLayout="@typeof(CavMainLayout)" />*@
    </Found>
    <NotFound>
        <LayoutView>
            <AntDesign.Pro.Template.Pages.Exception._404></AntDesign.Pro.Template.Pages.Exception._404>
        </LayoutView>
    </NotFound>
</Router>

<AntContainer />

@code{
    [Inject]
    UserConfig UserConfig { get; set; }

}